<?php
namespace app\serverfund\service\currency;

use \app\manage\service\ApiBase;
/**
 * @author:      李颖
 * @DateTime:    2017-07-03 16:59:02
 * @Description: Description
 */
class CurrencyUnfreezeLog extends ApiBase
{
    protected $currencyUnfreezeLogValidate = '\app\serverfund\validate\CurrencyUnfreezeLog';
    protected $currencyUnfreezeLogLogic = '\app\serverfund\logic\CurrencyUnfreezeLog';
    // 获取所数字币解冻日志(分页)
    public function list(): array
    {
        $data = $this->haveIssetReceiveData(['page'=>'1', 'list_rows'=>'', 'keywords'=>'', 'startTime'=>'', 'endTime'=>'']);
        return $this->oneStepRun($data, 'serverfund/currency/CurrencyUnfreezeLog/list', 'list');
    }
    // 获取某些user_ids的的数字币解冻日志(分页)
    public function listByUserIds(): array
    {
        $data = $this->haveIssetReceiveData(['page'=>'1', 'list_rows'=>'', 'user_ids'=>' ']);
        return $this->oneStepRun($data, 'serverfund/currency/CurrencyUnfreezeLog/listByUserIds', 'listByUserIds');
    }
    // 获取某个冻结日志的数字币解冻日志
    public function listByFreezeId(): array
    {
        $data = $this->haveIssetReceiveData(['freeze_log_id'=>'0']);
        return $this->oneStepRun($data, 'serverfund/currency/CurrencyUnfreezeLog/listByFreezeId', 'listByFreezeId');
    }
}